package com.cookie.api.model.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xiaozzk
 */
@Data
public class UserVO implements Serializable {
    @JsonSerialize(as = String.class)
    private Long id;
    private String name;
    private String mobile;
    @JsonFormat(pattern = "yyyy-MM-dd HH-mm-ss")
    private Date createTime;
}
